<template>
  <div class="statistics main_block">
    <nav-bar @handleSearch="handleSearch"></nav-bar>
    <router-view class="view" :searchVal="searchVal"></router-view>
  </div>
</template>
<script>
import NavBar from "./cpns/navBar"
export default {
  data() {
    return {
      searchVal: '',
    };
  },
  created() {},
  mounted() {},
  methods: {
    handleSearch(str){
      this.searchVal = str
    }
  },
  filters: {},
  components: {NavBar}
};
</script>

<style lang="less" scope>
@import "./index.less";
</style>
